package com.ruoyi.share.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮播图对象 share_viwepager
 *
 * @author ruoyi
 * @date 2021-11-16
 */
public class ShareViwepager extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String imgSrc;

    /** 顺序 */
    @Excel(name = "顺序")
    private Long sequence;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setImgSrc(String imgSrc)
    {
        this.imgSrc = imgSrc;
    }

    public String getImgSrc()
    {
        return imgSrc;
    }
    public void setSequence(Long sequence)
    {
        this.sequence = sequence;
    }

    public Long getSequence()
    {
        return sequence;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imgSrc", getImgSrc())
            .append("sequence", getSequence())
            .toString();
    }
}
